*** Settings ***
Resource    02_邮箱页面定位信息.resource

*** Variables ***
${写信_新邮件标题}    xpath=//div[text()='新邮件']
${写信_顶部_发送}    xpath=//div[text()='新邮件']/following::a[text()='发送'][1]
${写信_顶部_定时发送}    xpath=//div[text()='新邮件']/following::a[text()='定时发送'][1]
${写信_顶部_存草稿}    xpath=//div[text()='新邮件']/following::a[text()='存草稿'][1]
${写信_顶部_关闭}    xpath=//div[text()='新邮件']/following::a[text()='关闭'][1]

${写信_收件人}    xpath=//input[@aria-label='收件人']
${写信_添加抄送}    xpath=//a[text()='添加抄送']
${写信_删除抄送}    xpath=//a[text()='删除抄送']
${写信_添加密送}    xpath=//a[text()='添加密送']
${写信_删除密送}    xpath=//a[text()='删除密送']
${写信_分别发送}    xpath=//a[text()='分别发送']
${写信_取消分别发送}    xpath=//a[text()='取消分别发送']

${写信_主题}    xpath=//input[@name='subject']
${写信_添加附件}    //*[@id='sAddAtt1']/parent::a
${写信_添加附件_input}    xpath=//input[@name='UploadFile']
${写信_添加附件_添加到正文}    xpath=//*[text()='添加到正文']
${写信_添加附件_下拉}    xpath=//a[@id='moreupload']
${写信_超大附件}    xpath=//a[text()='超大附件']
${写信_照片}    xpath=//a[text()='照片']
${写信_文档}    xpath=//a[text()='文档']
${写信_截屏}    xpath=//a[text()='截屏']
${写信_表情}    xpath=//a[text()='表情']
${写信_更多}    xpath=//a[text()='更多']
${写信_格式}    xpath=//a[text()='格式']
${写信_日程}    xpath=//a[text()='日程']
${写信_正文_iframe}    xpath=//div[@id='QMEditorArea']/table/tbody/tr/td/iframe
${写信_正文_body}    xpath=//body[@aria-label='正文']

${写信_发件人}    xpath=//div[@id='sendmailname_val']
${写信_签名}    xpath=//div[contains(text(),'签名')]
${写信_其他选项}    xpath=//span[text()='其他选项']
${写信_保存到已发送单选框}    xpath=//input[@id='savesendbox']
${写信_紧急单选框}    xpath=//input[@id='high']
${写信_需要回执}    xpath=//input[@id='receipt']
${写信_纯文本}    xpath=//input[@id='contenttype']
${写信_使用信纸}    xpath=//input[@id='noletter']
${写信_对邮件加密}    xpath=//input[@id='secmailcode']


${写信_底部_发送}    xpath=//div[text()='新邮件']/following::a[text()='发送'][2]
${写信_底部_定时发送}    xpath=//div[text()='新邮件']/following::a[text()='定时发送'][2]
${写信_底部_存草稿}    xpath=//div[text()='新邮件']/following::a[text()='存草稿'][2]
${写信_底部_关闭}    xpath=//div[text()='新邮件']/following::a[text()='关闭'][2]

${写信_右侧_通讯录}    xpath=//a[text()='通讯录']
${写信_右侧_通讯录_查找联系人输入框}    xpath=//input[@value='查找联系人...']

${写信_邮件发送成功}    xpath=//*[contains(text(),'此邮件发送成功')]



